import RemoteComponentLoader from '@/components/remoteComp'

const Content = () => {
  return (
    <div>
      <h1>基础单个加载</h1>
      <h2>JButton</h2>
      <RemoteComponentLoader
        scriptUrl='https://file.jstar.site/dist/JUI/JButton/index.umd.js'
        globalVarName='JButton'
      ></RemoteComponentLoader>
      <h2>JInput</h2>
      <RemoteComponentLoader
        scriptUrl='https://file.jstar.site/dist/JUI/JInput/index.umd.js'
        globalVarName='JInput'
      ></RemoteComponentLoader>
      <h1>内部包含远端组件的组件加载</h1>
    </div>
  )
}

export default Content
